﻿@inject UIContext Context

<KContext Value="Context">
    <Router AppAssembly="@typeof(Program).Assembly" AdditionalAssemblies="Config.Assemblies">
        <Found Context="routeData">
            <KRouteData Value="routeData">
                <RouteView RouteData="@routeData" DefaultLayout="@typeof(AdminLayout)" />
                <FocusOnNavigate RouteData="@routeData" Selector="h1" />
            </KRouteData>
        </Found>
        <NotFound>
            <Result Status="ResultStatus.Http404" />
        </NotFound>
    </Router>
    <KContainer />
</KContext>